﻿using System.IO;
using CID.Execution.Support.PackageHandling;

namespace CID.Execution.Agent.PackageHandling
{
    public class ZIPPackageHandlingToken : FileSystemBasedPackageHandlingToken
    {
        public ZIPPackageHandlingToken(string tempPath, string packagePath, string targetDirectoyrSubpath) : base(tempPath, packagePath)
        {
            SourceFilePath = packagePath;
            TargetDirectoryPath = PackagePath = Path.Combine(TempPath, targetDirectoyrSubpath);
        }

        public string SourceFilePath { get; private set; }
        public string TargetDirectoryPath { get; private set; }
    }
}
